<?php
/**
 * Created by PhpStorm.
 * User: pc
 * Date: 2025/2/26
 * Time: 10:28
 */

namespace app\common\service\options;


use app\common\enum\Adminuser_typeEnum;
use app\common\enum\EtcSellerTiktokProduct_shStatusEnum;
use app\common\service\OptionMap;
use app\common\service\OptionMapItem;
use sookie\auth\models\Adminuser;

class authShsjcp extends  OptionMap
{
    public $map = [];

    public function getMap()
    {
        $this->map = [
            'user_id' =>  OptionMapItem::createInstance()->setClass(Adminuser::class)
                ->setWhere(['type'=>Adminuser_typeEnum::SELLER])
                ->setName("nickname"),
            "sh_status" => OptionMapItem::createInstance()->setOptions(EtcSellerTiktokProduct_shStatusEnum::toOptions(false)) ,
        ];
        return $this->map;
    }
}